<template>
  <router-link :to="{name:name, query:query}" v-if="$showAuthElement()" >
    {{text}}
  </router-link>
</template>

<script>
export default {
  props: {
    query: {
      type: Object,
      default: () => {
        return {};
      }
    },
    name: {
      type: String,
      default: ""
    },
    text: {
      type: String,
      default: ""
    },
  }
}
</script>

 